package net.shenru.lbs;

import net.shenru.modle.map.SrAddress;
import android.content.Context;

public class SrLocationManager {

	private static SrLocationManager instance;
	private SrLocationServer mLocationServer;
	
	private Context mContext;
	private SrLocationManager(Context context){
		mContext = context;
		mLocationServer = SrLocationServer.getInstance();
	}
	
	public static synchronized SrLocationManager getInstance(Context context){
		if(instance == null){
			instance = new SrLocationManager(context);
		}
		return instance;
	}
	
	public SrAddress getLastSrAddress(){
		return mLocationServer.getLastSrAddress();
	}
//	public S getLastKnownSrLocation(){
//		return null;
//	}
	
}
